#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Times;
using Cephei.QL.Indexes;
using Cephei.QL.Termstructures;
namespace Cephei.QL.Instruments
{
     // <summary> 
	// ! This class provides a more comfortable way to instantiate overnight indexed swaps.
	// </summary>
    [Guid ("E3686FE0-B302-4df9-B75D-BDD2D99698FF"),ComVisible(true)]
	public interface IMakeOIS 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Instruments.IMakeOIS ReceiveFixed(Microsoft.FSharp.Core.FSharpOption<Boolean> flag);
        
		 Cephei.QL.Instruments.IMakeOIS WithDiscountingTermStructure(Cephei.QL.Termstructures.IYieldTermStructure discountingTermStructure);
        
		 Cephei.QL.Instruments.IMakeOIS WithEffectiveDate(DateTime effectiveDate);
        
		 Cephei.QL.Instruments.IMakeOIS WithEndOfMonth(Microsoft.FSharp.Core.FSharpOption<Boolean> flag);
        
		 Cephei.QL.Instruments.IMakeOIS WithFixedLegDayCount(Cephei.QL.Times.IDayCounter dc);
        
		 Cephei.QL.Instruments.IMakeOIS WithNominal(Double n);
        
		 Cephei.QL.Instruments.IMakeOIS WithOvernightLegSpread(Double sp);
        
		 Cephei.QL.Instruments.IMakeOIS WithPaymentFrequency(QL.Times.FrequencyEnum f);
        
		 Cephei.QL.Instruments.IMakeOIS WithRule(QL.Times.DateGeneration.RuleEnum r);
        
		 Cephei.QL.Instruments.IMakeOIS WithSettlementDays(UInt32 fixingDays);
        
		 Cephei.QL.Instruments.IMakeOIS WithTerminationDate(DateTime terminationDate);
        
		 Cephei.QL.Instruments.IMakeOIS WithType(QL.Instruments.OvernightIndexedSwap.TypeEnum type);
    }

    // <summary> 
	// ! This class provides a more comfortable way to instantiate overnight indexed swaps. Factory
	// </summary>
   	[ComVisible(true)]
    public interface IMakeOIS_Factory // : Collection_Factory<IMakeOIS, ICell<IMakeOIS>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IMakeOIS Create (Cephei.QL.Times.IPeriod swapTenor, Cephei.QL.Indexes.IOvernightIndex overnightIndex, Microsoft.FSharp.Core.FSharpOption<Double> fixedRate, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Times.IPeriod> fwdStart);
    }
}

